package com.nc.delivery_project.client.cargo_details;

import com.google.gwt.core.shared.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.*;


/**
* Created with IntelliJ IDEA.
* User: Natalie D.
* Date: 1/27/15
* Time: 2:04 PM
*/
public class CargoDetailsView extends Composite {

    interface CargoDetailsViewUiBinder extends UiBinder<VerticalPanel, CargoDetailsView> {
    }

    private static CargoDetailsViewUiBinder uiBinder = GWT.create(CargoDetailsViewUiBinder.class);

    @UiField
    VerticalPanel panel;

    @UiField
    Label cargoIdLbl;


    @UiField
    TextBox titleTxt;


    @UiField
    TextBox widthTxt;



    @UiField
    TextBox heightTxt;



    @UiField
    TextBox depthTxt;


    @UiField
    TextBox weightTxt;



    @UiField
    TextBox currencyTxt;


    @UiField
    TextBox costTxt;

    @UiField
    Button saveCBtn;

    @UiField
    Button removeCBtn;


    private CargoDetailsActivity presenter;

    public CargoDetailsView() {
        initWidget(uiBinder.createAndBindUi(this));
    }

    public void setPresenter(CargoDetailsActivity presenter) {
        this.presenter = presenter;
    }

    public void start() {

    }
}
